package com.soul.common.bean.comm;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class TreeVo<T> {

    protected Long id;
    /**
     * 父节点Id
     */
    @ApiModelProperty("父节点Id")
    protected Long parentId;

    protected List<T> children;


}
